package com.flynn.rock.system.api;

import com.flynn.rock.enums.system.NoIdentifierType;
import com.flynn.rock.system.service.SysNoIdentifierService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;

@Component
public class SysNoIdentifierApi implements ISysNoIdentifierApi {

    @Resource
    private SysNoIdentifierService sysNoIdentifierService;

    @Override
    public String getNoIdentifier(NoIdentifierType identifierType) {
        return sysNoIdentifierService.getNoIdentifier(identifierType);
    }
}
